package com.xiu.travel.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.locks.ReentrantLock;

/**
 * @author lijie
 * @date 2023/6/10 16:16
 * @description LockConfig
 */
@Configuration
public class LockConfig
{
    @Bean
    public ReentrantLock reentrantLock(){
        return new ReentrantLock();
    }
}
